package com.tansun.easycare.rule.common;

/**
 * 请求返回信息
 *
 * @author kuanglishi
 */
public class ResMessage {
    /**
     * Json 对象编码
     */
    private String code;
    /**
     * Json 对象消息
     */
    private String msg;


    public ResMessage(String code, String msg) {
        super();
        this.code = code;
        this.msg = msg;

    }

    public ResMessage() {
        super();
        this.code = "success";
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
